package sxd.pojo;
import org.beetl.sql.core.TailBean;
import org.beetl.sql.core.annotatoin.EnumMapping;
import org.beetl.sql.core.annotatoin.EnumMapping.EnumType;

/*
*  如果要级联查询等 需要继承TailBean
* gen by beetlsql 2016-09-08
*/
public class User  extends TailBean{
	@EnumMapping(EnumType.ORDINAL)
	public enum Gender{
		男,女
	}
	//员工ID自增
	private Integer id ;
	//部门id
	private Integer deptid ;
	//性别 0 男 1女
	private Gender gender ;
	//员工姓名
	private String name ;
	
	public User() {
	}
	
	public Integer getId(){
		return  id;
	}
	public void setId(Integer id ){
		this.id = id;
	}
	
	public Integer getDeptid(){
		return  deptid;
	}
	public void setDeptid(Integer deptid ){
		this.deptid = deptid;
	}
	
	public Gender getGender(){
		return  gender;
	}
	public void setGender(Gender gender ){
		this.gender = gender;
	}
	
	public String getName(){
		return  name;
	}
	public void setName(String name ){
		this.name = name;
	}
	

}
